package zhupf.test.designPattern.bridge;

public class UpRightPhone extends Phone {

    public UpRightPhone(Brand brand){
        this.brand = brand;
    }

    @Override
    public void openPhone() {
        brand.openPhone();
        System.out.println("滑盖手机");
    }

    @Override
    public void call() {
        brand.call();
        System.out.println("滑盖手机");
    }

    @Override
    public void closePhone() {
        brand.closePhone();

    }
}
